<template>
	<view>
		<view class="main">
			<view class="msg">
				位于四川省成都市郫都区德源镇东林艺术村，是全国唯一经袁隆平院士授权以其名字命名的园区。<br>
				全国首批科学家精神教育基地，园区以袁隆平院士为精神支柱，以稻蒜文化为基础，将科研场景
				<br>变成教学场景，建立劳动教育、农业科普教育基地及成人实训基地。
			</view>
			</view>
			
			<view class="button-text" >
				<view class="button" id="one" @click="toCanguan1()">
					<view class="button-photo">
						<image src="../../static/g1.png" ></image>
					</view>
					<view class="button-text1" >
						个人预约
						<br/>
						<view class="button-text2">Personal reservation</view>
						
					</view>
					
				</view>
				<view class="button" id="two" @click="toCanguan2()">
					<view class="button-photo">
						<image src="../../static/t2.png"></image></view>
					<view class="button-text1">
						团体预约
						<br/>
						<view class="button-text2">Group reservation</view>
					</view>
					
				</view>
				<view class="button" id="three" @click="toCanguan">
					<view class="button-photo">
						<image src="../../static/s1.png"></image></view>
					<view class="button-text1">
						扫码入园
						<br/>
						<view class="button-text2">Scan the QR code  to enter the park</view> 
					</view>
					
				</view>
			</view>
		</view>
	
</template>

<script >
	export default {
	  data() {
	    return {
	     
	    };
	  },
	  methods: {
		
		

		  toCanguan1() {
			
		    uni.navigateTo({
		    		url:'/pages/canguanxuzhi/canguanxuzhi?id=1'
		    		})
		  },
			toCanguan2() {
	      uni.navigateTo({
	      		url:'/pages/canguanxuzhi/canguanxuzhi?id=2'
	      		})
	    },
		 toGeren() {
		     uni.navigateTo({
		     			url: '/pages/gerenyuyue/gerenyuyue'
		     		})
				
		    },
		toTuandui() {
			  // this.$router.push('/pages/yuyuechenggong/yuyuechenggong');
			uni.navigateTo({
				url: '/pages/tuanduiyuyue/tuanduiyuyue'
			})
			}
	  }
	  
	};
	// import {
	// 		ref
	// 	} from 'vue';
	// 	let toCanguan = function(){
	// 		uni.navigateTo({
	// 			url:'/pages/canguanxuzhi/canguanxuzhi'
	// 		})
	// 	}
	
	// 	let toGeren = function() {
	// 		uni.navigateTo({
	// 			url: '/pages/gerenyuyue/gerenyuyue'
	// 		})
	// 	}
	// 	let toTuandui = function() {
	// 		uni.navigateTo({
	// 			url: '/pages/tuanduiyuyue/tuanduiyuyue'
	// 		})
	// 	}
	
	
</script>

<style lang="scss">
	
		
		.main{
				 width: 100vw;
				 height: 100vh;
				 background-image: url("../../static/lll.png");
				 background-size: cover;
				 background-position: center;
		}
		.msg{
				 font-family: PingFangSC-Regular;
				 font-weight: 400;
				 font-size: 12px;
				 color: #05261B;
				 letter-spacing: 0;
				 line-height: 21px;
				 margin-top: 140px;
				 position: absolute;
				 left: 35px;
				 right: 35px;
				 margin-left: 15px;
				 



		}
		.button-text{
			margin-top: -290px;
			width: 83%;
			height: 500rpx;
			left: 5%;
			position: relative;
			margin-left: 18px;
			.button{
				width: 100%;
				height: 28%;
				background-color: white;
				border-radius: 12px;
				display: flex;
				flex-direction: row;
				justify-content: flex-start;
				flex-wrap: nowrap;
				position: relative;
				margin-bottom:10px;
				.button-photo{
					display: flex;
					position: relative;
					left: 10px;
					image{
						width: 70rpx;
						height:70rpx;
						margin-left: 10px;
						margin-top: 17px;
						align-items: center;
					}
				}
				.button-text1{
					width: 200px;
					height: 21px;
					font-family: PingFangSC-Medium;
					font-weight: 500;
					font-size: 15px;
					color: #05261B;
					letter-spacing: 0;
					margin-left: 20px;
					flex-wrap: nowrap;
					margin-top: 15px;
					.button-text2{
						width: 204.95px;
						height: 17px;
						font-family: PingFangSC-Regular;
						font-weight: 400;
						font-size: 12px;
						color: #5F5F5F;
						letter-spacing: 0;
						margin-top: 2px;
					}
					
				}
			}
		}

</style>
